﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace WpfAGVSystem.Migrations
{
    public partial class init9 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Unwind_Null",
                table: "EmptyCache_Entity",
                newName: "PutAre");

            migrationBuilder.RenameColumn(
                name: "Unwind_Full",
                table: "EmptyCache_Entity",
                newName: "HYWind_FullTask");

            migrationBuilder.RenameColumn(
                name: "Unloading_Null",
                table: "EmptyCache_Entity",
                newName: "HYWindEmptyTask");

            migrationBuilder.RenameColumn(
                name: "Unloading_Full",
                table: "EmptyCache_Entity",
                newName: "HYLoadFullTask");

            migrationBuilder.RenameColumn(
                name: "PutAreaType",
                table: "EmptyCache_Entity",
                newName: "HYLoadEmptyTask");

            migrationBuilder.RenameColumn(
                name: "PickAreaType",
                table: "EmptyCache_Entity",
                newName: "GetAre");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "PutAre",
                table: "EmptyCache_Entity",
                newName: "Unwind_Null");

            migrationBuilder.RenameColumn(
                name: "HYWind_FullTask",
                table: "EmptyCache_Entity",
                newName: "Unwind_Full");

            migrationBuilder.RenameColumn(
                name: "HYWindEmptyTask",
                table: "EmptyCache_Entity",
                newName: "Unloading_Null");

            migrationBuilder.RenameColumn(
                name: "HYLoadFullTask",
                table: "EmptyCache_Entity",
                newName: "Unloading_Full");

            migrationBuilder.RenameColumn(
                name: "HYLoadEmptyTask",
                table: "EmptyCache_Entity",
                newName: "PutAreaType");

            migrationBuilder.RenameColumn(
                name: "GetAre",
                table: "EmptyCache_Entity",
                newName: "PickAreaType");
        }
    }
}
